﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="script/jquery-1.10.2.js"></script>
    <script src="script/starry.js"></script>
    <script>
        $(function () {
            $(":button").click(function () {
                starry.smartAjax({ data: { bizName: $(this).attr("bizname") }, lightSuccess: function (bizResult) { alert(bizResult.Entity); } });
            });
        });
    </script>
</head>
<body>
    <input type="button" value="Hello World" bizname="HelloWorld" />
    <input type="button" value="Exception" bizname="ExceptionTask" />
</body>
</html>
